import request from '@/utils/request';



// 轮播图
export const findBanner = () => {
  return request({
    url: '/home/banner',
    method: 'get'
  })
}

// 新鲜好物
export const findNew = () => {
  return request({
    url: 'home/new',
    method: 'get'
  })
}

// 人气推荐
export const findHot = () => {
  return request({
    url: 'home/hot',
    method: 'get'
  })
}

// 热门品牌
export const findBrand = (limit) => {
  return request({
    url: '/home/brand',
    method: 'get',
    params:limit
  })
}

// 最新专题
export const findSpecial = () => {
  return request({
    url: '/home/special',
    method: 'get'
  })
}

// 商品列表
export const findGoods = () => {
  return request({
    url: 'home/goods',
    method: 'get'
  })
}
